1 package jrre.classloader.classfile.pool_entries;
2
3 public class CPInteger extends CPInfo{
4
5 private int value;
6
7 /***
8 * Gets the Value.
9 */
10 public int getValue(){
11 return this.value;
12 }
13
14 /***
15 * Sets the Value.
16 * @param Value The value to set it to.
17 */
18 public void setValue(int value){
19 this.value = value;
20 }
21
22 public CPInteger(int value){
23 this.value = value;
24 }
25
26 public String toString(){
27 return "Integer: value = " + value;
28 }
29 }
This page was automatically generated by Maven